Separate json

Take a look guys. I think it is way neater. Also learned a lot about URI builders, parsing JSON etc. 
Nice, looks good. Is it possible to declare some of these variables earlier so it's a little less crowded?