Added 'dumps' method for exporting data model to json