Converts instance of Customer to json
Map<String, dynamic> toJson() { return {"email": email, "phonenumber": phoneNumber, "name": name}; }