errors array should be associative to keep the field names usable