[WIP] Implement support for secondary index reads

the req is not entering this then condition. it actually don't go further anymore from here.
Hence I get time out when I run tests