it is now possible to customize to_dict using formatter parameters