Parse JSON in a variable

Given WG() can already parse JSON loaded from URLs, can we have functions that parses JSON from variables? E.g. like what BlueHorizen suggested in this question, to allow data URI in WG() or more logically add a new mode in TC(). I think the effort is minimal and will make at least 2 users happy? :)

I would love to have that!