add in function to convert a recursive dict to a dict; extend the scrub dict function to support empty lists