(#739) - remove complicated not used code from bulk_docs

Hopefully this code is some legacy and is no longer needed or I don't understand something and tests does not cover it either.

Please review carefully.