Using i.i.d. bootstrap inference for general non-i.i.d. models