Simple JSON schema validation and tranformation.