adding special json path support
it should be possible for ids to contains slashes
url is now composed of prefix and id
fix getComplexType
updategroup: handle typeCode null or wrong