Implement serialization of task model into unordered map

Issue #35 
@digawp  Please look, too.
it should resolve correctly... you're just definition a specialisation.

but in any case, these are built in types, i'm surprised you need to define a tostring.