I see you're wrapping the Ruby `Hash` that is being generated.  Generally not a bad idea, but I don't know if this is going to buy you any benefits.  We'll see.