Implemented support for direct JSON export.