remove json support if extension is not compiled in