Filemeta json v6

Needs some testing i think.