added static array of single or complex types support for record JSON serialization using enhanced RTTI