start work on refactoring out the protobuf -> tuple translation code