do not serialize stuff twice
Merge pull request #115 from jbarop/double_serialization

do not serialize stuff twice