Format data given in YAML format using Velocity templates