JSON-API: Don't include linked section if associations are empty
Merge pull request #710 from ride/fix-empty-linked

JSON-API: Don't include linked section if associations are empty