Replace legacy attribute index syntax

Apache 2.0

Replace legacy attribute index syntax (.0) with the new syntax ([0]).

org.openrewrite.hcl.ReplaceLegacyAttributeIndexSyntax
mod run . --recipe=org.openrewrite.hcl.ReplaceLegacyAttributeIndexSyntax

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.