decode json with keys as atoms and fix some acceptances this way