hstore to json and json to hstore