Added JSON helping methods and variables