ahhhh so I'm managing it wrong then, I was trying ...
# puppet
i
ahhhh so I'm managing it wrong then, I was trying to keep the $content the same as your logic was good, and format the output with nested to_json output, but your suggesting just output once to_json but format the array better