Add support for arrays in json-schema.