Add a switch that exports the data as json and writes the any other messages to the error stream.
Add a switch that exports the data as json and writes the any other messages to the error stream.