Added postJSONDb function