Making the JSONClient agent setting optional