implement gobble.build() for programmatic (as opposed to CLI) usage