Modified the way metadata filter dynamic attributes for less devkit code generation