adds specific 400 error for json parse errors

refs #19
adds middleware for parsing json bodies into params hash

refs #19