json parsing python commandline