JsonStrategy not working as described

JsonStrategy documentation suggests that setting HTTP Accept header to application/json should trigger JsonStrategy, however the code only (and always) triggers if the model is a JsonModel and has nothing to do with checking http accept headers.
I've modified the selectRenderer method to do what its phpdoc says it does by adding a check on the http access header to see if the first requested format is json.