Add Accept: application/json headers for the 1.3.x backport of this patch

Signed-off-by: Ken Barber <ken@bob.sh>