>  I think a general rule of thumb has been seriously considering anytime we're returning a generic object or array

Could you elaborate more on this? This currently returns an array of keyid objects.