[Reference] consistent & complete config examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | 

Make configuration examples in the reference section consistent throughout the different configuration formats. Also fixing several syntax issues.

This follow #4114 and #4129.
Same here