MC-100: Process and normalize attribute to ApiImport format

| Q                    | A
| -------------------- | ---
| Bug fix?             | n
| New feature?         | n
| Specs pass?*         | y
| Checkstyle issues?** | n
| PMD issues?***       | n
| Fixed tickets        | MC-100
| Doc PR               | n
This should be an helper and not a static method