[SourceDeclaration] Convert docs hashes to instances of SourceDeclaration