Switch from YAML to JSON with primitive translation

So fucking stupid, but w/e. Should *hopefully* be stable now,
closes #36