pprint working for tags and string