hacky/incorrect ValidationError.fromPlainObject

necessary for processing errors from the server in the UI in the same
way we process the client-side errors