Added serialization type choice for object level definition