prettified json output and command prompt