You can also use the setProperty() function in an expression, @Anonymous . Plus, you will need to put an if() function in there, too.
We really need to see your flow, mate. 😉
I'm not at a computer right now, but however you're creating the json I would recommend doing it on that actual step, so you can then just wrap this around it. However it would be ideal to see your flow so that we can better assist.
Could you post screenshots? Just black out sensitive data.
here's a basic setProperty():
setProperty(data, 'Black Toner', '100%')
Use that with an if statement ... . hang on I'll just get to a computer.
in the meantime can you post your flow? (edited in to the original post is best)