hack to grab .jpg instead of .json