Use locally defined conent-type header when referencing a model. Fixes #195.