Json value may consist of a string value. eg.:

```
postgres=# SELECT to_json('Some "text"'::TEXT);
     to_json
-----------------
 "Some \"text\""

```

How can I extract that string as a postgres text value?

`::TEXT` doesn't work. It returns quoted json, not the original string:

```
postgres=# SELECT to_json('Some "text"'::TEXT)::TEXT;
     to_json
-----------------
 "Some \"text\""

```

Thanks.

P.S. I'm using PostgreSQL 9.3