wrote a pretty printer to get JSON in tabular style