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
I'll do it in another CS / PHPDoc PR