Convert default definitions from YAML to JSON (for performance reasons).