Added tag searching function (returns json atm)