Gamestate JSON builder now works