Updated body-parser implementation

to comply with recent change to Express. This gets rid of the
depreciated warnings at the command line when launching the server.