%{ for key, value in map_of_params } %{ if value.enabled} { "${key}": { "service": "${value.service}" } } %{ endif } %{ endfor ~}