replace custom BodyParser with rack-parser middleware