force response type of application/json for the /ping resource

commit https://github.com/joyent/smartos-live/commit/3cc379d40d3d0a4e7926490402a0275d2030ff3b did break imgadm requests to /ping