Texture is now a class, FIXME added to TextureManager::loadJSON. I think it is the way to go