Setting the header content to JSON