Oregano is most probably the best substitute for thyme. It has similar earthy notes with a slight bitterness. Fresh oregano works better however dried version hold its flavor well and is easily added to this dish or sprinkled on top as a garnish.