Updated network code to use strings for key types

Deserializing/Parsing is broken