Fix API calls with List/Map parameters