Revert "Revert "BUG: the secondary indexing is whack with strings & streams""

This reverts commit 8939722fc6f581a4c8b7bd90b0fccae5c357292e.

Conflicts:
	package.json