Rewriting object definitions to use YAML-style formatting where possible.