fix minor json issues revealed by jshint