Allow use of $save on resource objects by removing modified 'links' property.

The links property is modified when retrieved to be an object rather than an array.  This pull request deletes the links from any follow on requests preventing serialisation issues server-side with this data type change.

Not sure this is all you'd want to do, but it's working for me like this.