Setting default Accept header as json

It's almost a standard that these days we use json for transport. So making it a default.