refactored id-getter/setter
proper handling of version and id field for PUT
merged field types
update dependencies