Location = obj.get("location").asVector3d();
GroupOwned = obj.get("is_group_owned").asBoolean();
OwnerID = obj.get("owner_id").asUUID();
OSDMap resources = (OSDMap)obj.get("resources");
Resources = new HashMap<String, Integer>(resources.keys().size());
for (Entry<String, OSD> kvp : resources.entrySet())
{
Resources.put(kvp.getKey(), kvp.getValue().asInteger());
}
}