Context parameter safety fixes

Another context oddity reared its head when backslashes started getting doubled quoted. Fixed by forcing context data to json before pushing it forward. Also brings indentation in-line with salt doc 23.14.1.2.1