Fix JSON output file. Add animation tweening.