Remove empty values from the user badge $args array so the Credly API doesn't process them