Fix EZP-21268: The JS REST Client Response should provide the body as a structure.
- Unit tests are fixed.
- Escaping empty "body" during parsing.