Added JSON parsing methods