Revamped serializer.  It's clumsy now, and just assumes good formatting, but it's decentralized, so that I'll be able to add more model types more quickly.