Use scrooge to replace thrift for recursive struct