Adding initial specs around document serialization