added closest x hydrants functionality for json querying