implement a custom json pretty printer
add command line mode