adding names for type array, removing validation from non-json view