Parses a modifier given as a string and dumps it as JSON.
function modifierToJSON input String modifier; input Boolean prettyPrint = false; output String json; end modifierToJSON;