Fix deprecated call of middleware bodyparser