In addition to attributes, loaded relationships should be outputted when calling `getMemento`. (There may need to be an argument to exclude relationships.)
Â
See for example tests.