reset json tokener state before trying to parse