fix getAll() returns data instead of object when nearcache enabled.