Added JSON support, added SNES gamepad support