If a definition contains a template `{ field: "Field" }` the <> will cause an issue when serializing as these values should be escaped.