Add data of the joining object in join endpoints

Signed-off-by: Ondrej Koch <o.koch@zerusnet.com>