refactoring cache api response

small fix on moves api