{"action":"created","issue":{"url":"https://api.github.com/repos/SeyZ/jsonapi-serializer/issues/4","labels_url":"https://api.github.com/repos/SeyZ/jsonapi-serializer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SeyZ/jsonapi-serializer/issues/4/comments","events_url":"https://api.github.com/repos/SeyZ/jsonapi-serializer/issues/4/events","html_url":"https://github.com/SeyZ/jsonapi-serializer/issues/4","id":90642248,"number":4,"title":"Duplicate includes","user":{"login":"xbill82","id":5023426,"avatar_url":"https://avatars.githubusercontent.com/u/5023426?v=3","gravatar_id":"","url":"https://api.github.com/users/xbill82","html_url":"https://github.com/xbill82","followers_url":"https://api.github.com/users/xbill82/followers","following_url":"https://api.github.com/users/xbill82/following{/other_user}","gists_url":"https://api.github.com/users/xbill82/gists{/gist_id}","starred_url":"https://api.github.com/users/xbill82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbill82/subscriptions","organizations_url":"https://api.github.com/users/xbill82/orgs","repos_url":"https://api.github.com/users/xbill82/repos","events_url":"https://api.github.com/users/xbill82/events{/privacy}","received_events_url":"https://api.github.com/users/xbill82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T10:55:10Z","updated_at":"2015-06-24T12:16:46Z","closed_at":null,"body":"Hi,\r\nI found out that, when serializing an array of objects related to one same resource (e.g. many `Articles` written by the same `Author`), that resource is duplicated many times in the `included` array.\r\n\r\nI'll try to solve this and submit a Pull Request when I get a moment."},"comment":{"url":"https://api.github.com/repos/SeyZ/jsonapi-serializer/issues/comments/114847829","html_url":"https://github.com/SeyZ/jsonapi-serializer/issues/4#issuecomment-114847829","issue_url":"https://api.github.com/repos/SeyZ/jsonapi-serializer/issues/4","id":114847829,"user":{"login":"xbill82","id":5023426,"avatar_url":"https://avatars.githubusercontent.com/u/5023426?v=3","gravatar_id":"","url":"https://api.github.com/users/xbill82","html_url":"https://github.com/xbill82","followers_url":"https://api.github.com/users/xbill82/followers","following_url":"https://api.github.com/users/xbill82/following{/other_user}","gists_url":"https://api.github.com/users/xbill82/gists{/gist_id}","starred_url":"https://api.github.com/users/xbill82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbill82/subscriptions","organizations_url":"https://api.github.com/users/xbill82/orgs","repos_url":"https://api.github.com/users/xbill82/repos","events_url":"https://api.github.com/users/xbill82/events{/privacy}","received_events_url":"https://api.github.com/users/xbill82/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T12:16:46Z","updated_at":"2015-06-24T12:16:46Z","body":"Ok, 2 things here\r\n\r\n* when installing the lib from `npm` I don't get the latest version of the code (baybe due to the missing `repository` field in `package.json`?)\r\n* I still got the problem. I'll try to debug this out when I get a sec."}}