﻿module.exports =
    {
        doConvert: function(data)
        {
            return convert(data);
        }
    };

function convert(data)
{
    return typeof data;
}
@@ -146,25 +146,150 @@
     
-return typeof data
+var objData = data;%0A%0A    if(data instanceof String)%0A    %7B%0A        objData = JSON.parse(data)%0A    %7D%0A%0A    return JSON.stringify(objData, null, 4)
 ;%0A%7D

convert to object if needed