Fixing error from using JSON command in regular channel