Added methods to convert model objects to dicts. Renamed jsonkeys/objectAttributes to use class constants