refine animation json format