EZP-20867: remove casting field settings and validator configuration to  array