Accept Query and pass back JSON to a mobile app