command line interface improvements (-f @json)