support inconsistent return types for API results pagination