Handle nulls properly as arguments in the API
The API currently accepts null for almost every argument type.
We should handle that properly, making null being allowed or not explicitly.
The risk is this change is that new UI will break for API calls that is sending "null" values for methods it wont be allowed anymore. New UI will have to change the calls to not include said attributes or use correct argument type.
When this is done calls to middleware websocket/REST 2.0 methods will no longer accept "null" values for methods that should be requiring a specific type (e.g. bool or dict)