Fix OpenStruct serializing
Merge pull request #91 from etehtsea/fix-arg-error

Fix OpenStruct serializing