Check for JSON null values directly rather than relying an undefined conversion to the string "null".
Merge branch 'dev' of github.com:ios-driver/ios-driver into dev