Added JSON Methods and tested