'--export-json' command option added