Separate json

Take a look guys. I think it is way neater. Also learned a lot about URI builders, parsing JSON etc. 
It may be prudent to define some of these variables above.