Saving a DataSources collection at once

Hello,

I’m wondering how can i collect a collection of DataSources in only one data source and save them at once.

I give an example : if i need to collect personal information of one user and its contacts through a wizard and save all data when the user click on the submit button at the final step, How can i create a DataSource that contains all the rows and how can i send them through a json object ?

Thank you