JSON types for serialization, validation and more