convert sample .twigrc to JSON