extracting shared examples for JSON::Schematized::Wrapper