Add opts which specifies which config keys are JSON.