fixes #30 by wrapping property access in a try
Support for serializing host objects. Closes #30.