Convert Config.config into a proper type

Signed-off-by: John Else <john.else@citrix.com>
Refactor Config.of_v1_format out of Config.of_rpc

Signed-off-by: John Else <john.else@citrix.com>