fix rapidjson move semantics bug in assets manager