chain_sim_data now returns data as a dictionary.