Got serialization for coloredAmounts, finally.  Figuring out lots of interlocking template code is hard.