DxBuilder: Only determine default values *after* object has been added to container.

This solves an issue with IntID generation for objects. I have no idea why this works, but it seems to resolve our current test failures.

/cc @phgross @maethu @jone