Added support for colleciton FKs and for multiple root objects