adding documentation for content marshalling - fixes #8