added option to store relationships (redundant) in document(s)