var wizard_object = JSON.stringify(newThemeWizard);
$.ajax({
type : 'POST',
url : 'index.php',
data: "data="+wizard_object,
success: function(res){
console.log(res);
}
});
var_dump(json_decode($_POST['data'], true));