updated header to application/json