Confused about automation editor formatting

I feel like HASS is getting better and better with each update. Right now I am having a little confusion with automation’s. Im trying to find the format that is consistant to the automations that are made from the automation editor.

For instance under ACTION. typically I would do something like this.

  action:
  - service: light.turn_on
    entity_id: light.living_room

Under the Automations this will show as
Service…Light.turn_on
Service Data…{}

Now if I use

  action:
  - service: light.turn_on
    data:
      entity_id: light.living_room

Under the Automations this will show as
Service…Light.turn_on
Service Data…{“entity_id”:“light.living_room”}

so is this the format that we are moving to??

also when I make a new automation in the automation Editor it shows up very strange in a strange order. So im just trying to find out if there is some type of standard yet

did you find an answer to this? starting to dip my toe into the automation world and it’s really confusing. all the examples reference the ‘old way’ to make it more difficult.