Including the resource once if an 'id' is present.

Fix #84

From the Specification:
> Each resource object SHOULD contain a unique identifier, or ID, when available.