changing WSRequest options object type from Array to Object