Haml support, write config to json file