Added ability to manually encode an object to XML, added ability to manually generate security code (ZKI)