Tweak refactoring of parser API and contracts into deserializers (issue #15)
Initial draft of serializer contracts; tweak deserializers (issue #15)