update to_dict to take into account the added epsilon_static attribute