Make sure JSON encoder writes even data where dictionary keys are composite python objects