Fix tools::sequences and make its result serializable
Merge branch 'master' into variable_length

Conflicts:
	sdd/tools/sequences.hh