Simple utility to export data in JSON format

Prepare stuff for the new myDMS-node project