Substantially improve compatibility of describeTypeJSON implementation

Enough so that a beefed-up version of our previously-failing avm2 tracetest now passes with bells and whistles.