[Components] consistent & complete config examples

Make configuration examples in the components section consistent
throughout the different configuration formats. Also fixing several
syntax issues.
minor #4129 [Components] consistent & complete config examples (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[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.

Commits
-------

d08da50 [Components] consistent & complete config examples