Refactor simple get requests

use getJSON function which makes the necessary getRequests