have codec json use codec config for defaults

to ensure that defaults defined using codec config things, like
units from the Bytes/ Time annotations, will still work when used
from codec json