added serialzers and to_dict methods