Added XML output based on json string in database table... a bit of XMLElement output to get correct markup