Inline #json_attributes method.
Make tests faster (reduces runtime by ~40ms);

Tests currently run at around 160-200ms for the 305 assertions, by disabling garbage collection, this time drops to around 120ms-160ms.
Remove commented out tests.
No need to invoke new interface each time.
Cache some test setup.