bug fix, detecting json files in format <image name>.json
fixed trailing slash on url