Marshal dataclasses to/from JSON. Use field properties with initial values. Construct a dataclass schema with JSON input.