Refactor template of spritesmith config