Add functionality to read json back from files