only generate some JSON metadata when in realtime mode