Added some methods for JSON data