Nutupane: set application/json header for v2 api, fixes #2793.