format text data coming from data/ into json files

wip

clean code

clean code

wip

clean code