Not sure if this will help but take a look at the .default. section in the bb-hosts man page. Seems that all of the odd bits could be defined there, but you would still have large lists of 'ip hostname #'.