more work for validation on page and rest, error keys are added in the response, tests are working - still need to add some i18n functions for the error message