Nested messages are incorectly converted to a hash.

I fixed an issue, when converting nested messages to a hash. They were not converted at all, so I added a bit of good old recursion.