Remove exception in serializerPass if there is no normalizer or encoder

Now exception occurs when there is no normalizer and encoder

| Q                    | A
| -------------------- | ---
| Bug fix?             | n
| New feature?         | n
| BC breaks?           | n
| CI currently passes? | 
| Tests pass?          | y
| Scenarios pass?      | y
| Checkstyle issues?*  | n
| PMD issues?**        | n
| Changelog updated?   | n
| Fixed tickets        | 
| DB schema updated?   | n
| Migration script?    | n
| Doc PR               | n