added json for class ExtendedType