JSON web service to query hydrodb