Updated JSON exporter.