Revert "Remove accept predicates on json routes"

This reverts commit c161d7212ef8f96d35e5d2b3bd71798a189dd309.

Unfortunately, this change means that any request which has both
'application/json' and '*/*' gets the wrong type.