Fix EZP-21268: The JS REST Client Response should provide the body as a structure.
!squash
- fixes according to review