Rename paymentsList to list inside Payments object
Add logic to apply naming patterns to lists of payments