Can you simplify the problem for us? For example, can you show us a structure that you start with, how it should come out, and what you've been getting instead?
Caution: Contents may have been coded under pressure.
Comment on Re: How many levels of indirection in a Hash?