What do you think about putting this into the compress lib ? something like compress.generatePlist