return a json array instead of a fragment because thats easier
add afnetworking and preliminary support for getting a url from a server