{"action":"created","issue":{"url":"https://api.github.com/repos/openhealthcare/opal/issues/1494","repository_url":"https://api.github.com/repos/openhealthcare/opal","labels_url":"https://api.github.com/repos/openhealthcare/opal/issues/1494/labels{/name}","comments_url":"https://api.github.com/repos/openhealthcare/opal/issues/1494/comments","events_url":"https://api.github.com/repos/openhealthcare/opal/issues/1494/events","html_url":"https://github.com/openhealthcare/opal/issues/1494","id":313263993,"number":1494,"title":"Make serialization consistant","user":{"login":"fredkingham","id":2175455,"avatar_url":"https://avatars1.githubusercontent.com/u/2175455?v=4","gravatar_id":"","url":"https://api.github.com/users/fredkingham","html_url":"https://github.com/fredkingham","followers_url":"https://api.github.com/users/fredkingham/followers","following_url":"https://api.github.com/users/fredkingham/following{/other_user}","gists_url":"https://api.github.com/users/fredkingham/gists{/gist_id}","starred_url":"https://api.github.com/users/fredkingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredkingham/subscriptions","organizations_url":"https://api.github.com/users/fredkingham/orgs","repos_url":"https://api.github.com/users/fredkingham/repos","events_url":"https://api.github.com/users/fredkingham/events{/privacy}","received_events_url":"https://api.github.com/users/fredkingham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T10:26:53Z","updated_at":"2018-04-14T09:30:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"a patient to_dicted contains empty lists for patient subrecords that are not there.\n\nAn episode to_dicted does not.\n\nan Episode.objects.serialised, does.\n\nconsistency please."},"comment":{"url":"https://api.github.com/repos/openhealthcare/opal/issues/comments/381316515","html_url":"https://github.com/openhealthcare/opal/issues/1494#issuecomment-381316515","issue_url":"https://api.github.com/repos/openhealthcare/opal/issues/1494","id":381316515,"user":{"login":"davidmiller","id":17229,"avatar_url":"https://avatars3.githubusercontent.com/u/17229?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmiller","html_url":"https://github.com/davidmiller","followers_url":"https://api.github.com/users/davidmiller/followers","following_url":"https://api.github.com/users/davidmiller/following{/other_user}","gists_url":"https://api.github.com/users/davidmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmiller/subscriptions","organizations_url":"https://api.github.com/users/davidmiller/orgs","repos_url":"https://api.github.com/users/davidmiller/repos","events_url":"https://api.github.com/users/davidmiller/events{/privacy}","received_events_url":"https://api.github.com/users/davidmiller/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T09:30:38Z","updated_at":"2018-04-14T09:30:38Z","author_association":"OWNER","body":"I think this is a bug and that the empty key should always be there.\r\nCan remember when this caused issues with javascript Episode objects."}}
{"actor":{"display_login":"davidmiller"}}