The changelog format has to follow the Keep a changelog format.
>git clone https://github.com/cloudorz/changelog2json.git
>cd changelog2json
>stack build & stack install #It will install the `changelog2json` to `~/.local/bin/changelog2json`.
cat CHANGELOG.md | changelog2json > CHANGELOG.json