added hiera support and a mode structured data schema