MDL-67049 grading: options are array, ensure json_decode() knows it