web3py backport of lazy get_vars,post_vars and vars, thanks Niphlod (may need more testing)