start of moving output from express
jshint should allow switch fall through
rewrite http output respond method