Making the latin-1 encoding a full retry

This way we can properly catch JSON parse errors
for each encoding.