Added Method to recursively resolve DB references, tbi