I propose to support YAML aside to JSON as format for resource schemas because it is more programmer friendly and data structure is compatible with JSON.
YAML should be then supported by all API and UI clients.
There is also an options that server must support JSON by default and it can optionally provide YAML when HTTP header Accept: application/x-yaml
is provided.