Fix ConfigException serialization with null origin

Fixes #92