returns the simplest representation of this resource with only the type and the id:
{'type': 'Type', 'id': id}
Map<String, dynamic> toIdResource() { return toJson(includeAttributes: false); }