Simplify the code by using the Express.js preferred JSON body parser