Although JSON has its benefits, TypeScript might be the better way long term (stronger checks etc.). Maybe both should be supported.