Change ddcfg api to fully represent specs