moving data to json for easier reuse