null values are converted to empty strings with converting groups to maps