supporting content marshalling - fixes #7