Adds pg_search, implements json routes and improves tags parsing in convert script.