Fix rapidjson move semantics bug in assets manager