added static array support for record JSON serialization using enhanced RTTI