Adds json parsing. Add 'sites' api call.