Change the way capabilities are passed to DesiredCapabilities to prevent platform capability having to be a valid name of a Platform enum item