implemented as_dict on deposit