Fixed links.json decoding