more JSON reference formatting fixes for schema validation errors

for additionalProperties and patternProperties JSON schema rules