Simple helper utility for generating cloud-init content