Add support to POST JSON data to the query servlet