mgr/pybind/object_format: fix json-pretty being marked invalid
without this patch you'd get
```
[ceph: root@vm-00 /]# ceph nfs cluster info --format json-pretty
Error EINVAL: Unknown format name: json-pretty
```
this seems to be because valid formats are checked using
the class
```
class Format(str, enum.Enum):
plain = "plain"
json = "json"
json_pretty = "json-pretty"
yaml = "yaml"
xml_pretty = "xml-pretty"
xml = "xml"
```
and then
```
set(str(v) for v in Format.__members__)
```
but that resolves to
```
{'yaml', 'json_pretty', 'plain', 'xml', 'json', 'xml_pretty'}
```
and so json-pretty is marked as invalid. Note that it's also
impossible to pass json_pretty as the format as core ceph
blocks it with
invalid choice: 'json_pretty' (choose from 'json', 'json-pretty', 'xml', 'xml-pretty', 'plain', 'yaml')
Fixes: https://tracker.ceph.com/issues/65554
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
cd988a01a0edf13882527f5526f1793d4dece437)