Speedup container conversion

Boost::python extract is actually quite slow, as it performs a lot of
checks. Let's be wild and speedup the process!