Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'deleteAccount', if (extra != null) '@extra': extra, 'reason': reason, 'password': password }; }