Extract data construction from create/update/deleteRecord and create/update/deleteRecords to allow more flexibility to developpers extending default RESTAdapter.