Add fixes for commotion.sh to only use json_get_var when appropriate.

This should correct an issue with the commotion.sh script not pulling the wireless values, due to incorrect use of the json_get_vars function.