Macro joining Thrift structs.

Personally I wouldn't be pulling such a small piece of functionality, only used in one place, into it's own function. This is probably because working with the hadoop eco-system warps your brain until you don't trust anything to be implemented correctly until you've read it. But I'm happy to leave this to your better judgement.