Oooh, good catch. I think it *just* should take the actual dict structure, rather than handling both strings and dict structures.