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

OdML documents are used in RESTful implementation of EEGBase and the mobile client of same uses a NoSQL database. So, its required to convert OdML document to JSON document.