Creates a json map expected by the server
Map<String, double> toJson() => { 'lat': latitude, 'lon': longitude, };