Added functionality to export key-value pair Map which is easily exportable to JSON