Resolves to name or to jsonName.
jsonName
@override String resolveName(bool jsonName) => jsonName ? this.jsonName : name;