Improved serialization/deserialization of objects from json strings.
Added DEvice.join_namespace() to join a target namespace.