build: refactor build generator data sources
dbref.$id is any valid element/value.