fix for ? coords in JSON output