[improvement] Added Rack middleware for responding with 400 when malformed JSON is received (15m)