Adding json content type header to install

Hopefully fixes an install issue where the browser interprets the
validation step response badly.