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