Refactor json schema validation to use ActiveModel validation