I kind of think using a language with native JSON support and structural type system would be best.
HCL also just works.