If find this method much harder to follow than the xml version because the naming there is clear. Can you modify variables here so that what is happening in this method is 'obvious and intention revealing'. local vars like `a_result_hash` `ae` are confusing because you don't know what they mean, etc. I would rather have vars be longer and easier to understand meaning than short and you have to think about what it means and what is going on. Ideally this is written in such a way that the local vars tell the story.

Can you take a stab at that or would you like some better examples?