Adding support for metadata field in the jason input file