handle relations in show mode
Merge pull request #307 from sonata-project/fix-show-relations

handle relations in show mode