Test for Python defaultdict when converting values to javascript objects to CEF.