specialize from_lua for fast_variant (not very efficiently yet)