simple json pretty printer in ruby