Support for multiple join conditions
Add following tests
 - Multiple condition join
 - Join on JSON scan

Fix memory leaks