@SuppressWarnings("unchecked")
Map<String, Object> objectMap = (Map<String, Object>) ObjectUtils.fromJson(objectString.trim());
ObjectType type = ObjectType.getInstance(ObjectUtils.to(UUID.class, objectMap.remove("_typeId")));
if (type != null) {
Object object = type.createObject(ObjectUtils.to(UUID.class, objectMap.remove("_id")));
State objectState = State.getInstance(object);
objectState.setValues(objectMap);
substitutions.put(objectState.getId(), object);
}