add metadata dumping