Fix/api duplicate xml root 3149

Fixes duplicate xml root elements [1] caused by both unexpected rabl behaviour (possibly a bug) and incorrect rabl usage.

[1] https://www.openproject.org/work_packages/3149