* add raw and pretty outputs for response
* rearrange requirements for tests