Don't serialize links attr when no links present
Merge pull request #3 from totallymike/stifle-links

Don't serialize links attr when no links present