Fix compound document example for id-based APIs.

The example needs to be consistent with the example for url-based APIs and demonstrate the top level `linked` collection.