parse collections on API returns