added json content-type header