Update error for bad values being sent through ports

Json.Value are valid. All values from JavaScript library are not
allowed anymore because they don’t exist anymore.
Update to match changes to Json/JS libraries and to ports