fixed issue with lat and long not getting converted to JSON