@classmethod
def __jsonDecode__(cls, state):
    """Returns an object of cls based on a given state"""
    return cls(name=state.pop('name'), owner=state.pop('owner'), locations=
        state.pop('locations'))
