Implement serialization of task model into unordered map

Issue #35 
@digawp  Please look, too.
actually, over here, don't NOLINT it, just use int16_t