Implement serialization of task model into unordered map

Issue #35 
@digawp  Please look, too.
Why no lint? Or to make my question more general, what things that can be NOLINT-ed?