Parsing query string json, hstore methods