-Implemented custom json encoder to write better formated json files
-Fixing animation bugs