Added ability to generate filestore metadata in json and regular (curren...

...t) formatting