injects json data into dist