json response working. Fixed contentType