Started incorporating JSON parsing, not fully functional yet