Make metadata match file generated by pmt