Updates schemas.definition to be JSON array of fields