fix an issue with infinite recursion from -dictionaryRepresentation