Fix empty results
Fix select star and json stuff