Setting the proper content type for json callbacks