[Dom] Include all attributes in import statement code generation