PIM-3196 Refactor the view element feature

| Q                    | A
| -------------------- | ---
| Bug fix?             | N
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | ?
| Tests pass?          | Y
| Scenarios pass?      | ?
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | N
| Fixed tickets        | ~
| DB schema updated?   | N
| Migration script?    | N
| Doc PR               | ~
Yeah, we'd play with something else then. For now, seems really sufficient to be able to get view element contents using view_elements(type) or just list the aliases using view_element_aliases(type)