Some functions to help with serialization; yet to be pruned
added TaskString type to better serialization, fixed Binary instance for Task, and more