Matt,
your a god send, thank you very much for that chunk of code, it worked like a champ, Though I couldn't use the editor to add it, but success when I added it directly to the json code.
I'm guessing it's something to do with backslashes that I'm not doing correctly, but I'll check it out.
thanks,