payment date to json