split out new method generateRaw(). add docs, unify encoding, rename methods from generate* to build*