[Yaml] inline syntax: remove object support

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #6498
| License       | MIT
| Doc PR        |

Hm, you're right. What would you suggest to detect an embedded object?