JSON and YAML are just representations of basic data structures (in Python they'd be called dictionaries, lists and strings).
Perhaps the easiest way would be to write your data in YAML, load it in python, then write it out in JSON. In most instances the native Python representation is close enough to JSON that you might not need to do the second conversion:
$ python
>>> import yaml, json
>>> data = yaml.load(open('myfile.yaml', 'r').read(-1))
>>> print(data)
>>> json.dumps(data)
You'll find that a lot of idiomatic salt states are a little more awkward in JSON vs YAML (eg, state options are lists of single-key dictionaries), but once you see the pattern it's pretty easy to convert between them.