Filemeta json v12

Filestore/Filelog metadata output to JSON.

Worked on feedback given after a review from Victor. Hope all issues were addressed.
would it be useful to print 'error' or something in case js_data is null?