Remove some extra print statements.
Implement object json parsing functions.

Adds a from_json static method to all objects.

Also adds a top level object_from_json function that
can be used for all the interface and bridge types.
(everything except addresses and routes). This should
be useful for wiring processing JSON from the CLI.