Is it possible to convert stories.md to stories.json

Hi,

Is it possible to convert stories.md to stories.json and vice versa??

I am just trying to persist all needed components of rasa stack like nlu,stories,domain to a database. So my question

Is it possible ?

Does the converstion from .md to .json and back and forth corrupts the files for training ?