Added support for source reference in nested object