Refactored tf2search.py

Changed search JSON output