Standardize return data for API methods