[ConsoleKernel][Routing] Fix the determination of the InputOptions mode

The key accept_value must exists and set to True for accepting option value
The key is_array must exists and set to True for accepting array value
[ConsoleKernel][Routing] Use JSONObject intead of JSONArray for options and arguments

BC break : yes