@Override
public BehaviorTreeData load(Module module, InputStream stream, List<URL> urls, List<URL> deltas) throws IOException {
BehaviorTreeData data = new BehaviorTreeData();
try (JsonReader reader = new JsonReader(new InputStreamReader(stream, Charsets.UTF_8))) {
reader.setLenient(true);
reader.beginObject();
nextName(reader, "model");
data.setRoot(treeGson.loadTree(reader));
reader.endObject();
} catch (JsonSyntaxException e) {
logger.error("Cannot load tree! " + e.getMessage());