correct way to do object list in YAML?