Changes Websockets to object transport instead of array of object transport