adding source to the json api