do not add :data-errors and :form-errors to the result if there are no corresponding errors