[Components] consistent & complete config examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | 

Make configuration examples in the components section consistent throughout the different configuration formats. Also fixing several syntax issues.

This is mainly the same that I did in #4114 for the book.