pretty xml and json