If yaml ever gets too cranky, just use JSON in your yaml document.
Since yaml is a superset of json, any valid json is valid yaml as well. This allows you to combine the two in very convenient ways:
---
test:
obj: {"solution": ["in", "the", "list", {"everything: "is possible"}]}