Fixed Selenium grid console displaying null for iOS capabilities

Address the issues reported as part of GitHub issue #324.