Generic pretty printer of python objects