[
# for i, mod in ipairs(modules) do
#   local name = mod.name
#   if string.lower(name) == "pdk" then
#     name = "index"
#   end
  { "name": "$(name)",
    "generated_name": "$(mod.name)",
    "file": "$(mod.file)" }$(i < #modules and ",")
# end
]
