Convert network-related inputs to use InputCoder. Clean up some serialization helper methods to use the same interface.
Inspector: make the new UI use the JSON-serialized recording format, rather than
the old recording format.