Delegated JSON generation directly to JSON library.