Serialise the content ourselves if necessary

Closes #17
Stable Release 1.4.0