fix id not as attribute and duck-typing for Models and Collections
fix id not as attribute and duck-typing for Models and Collections

zoitravel/oh-my-jsonapi,jamesdixon/oh-my-jsonapi,scoutforpets/jsonapi-mapper