Converts this object to something serializable in JSON.
@override Object toJson() => <Object>['newLatLngBounds', bounds.toJson(), padding];