refactoring response builder to adhere to OCP, make more extensible
adding functions to read body of post request