Cleaner JSON parsing, seems like the way I wanted to do it won't work