IntOrString for use in JSON/YAML

Specifying an API type as IntOrString will allow JSON and YAML to accept
either ints or strings with the same name.  For example, port names or
numbers.
Except in the YAML case there is no error, so I still have to panic, I guess.  It's supposed to be an impossible case...