abstracted websocket to all datatypes. killed the robot... sad times