rewrote the json structure of how images are dumped into templates
ignore newest-wok