Converts this object to something serializable in JSON.
@override Object toJson() => <Object>['newCameraPosition', cameraPosition.toMap()];