Implement serialization of task model into unordered map

Issue #35 
@digawp  Please look, too.