Text this: Improving data collection in complex networks with failure-prone agents via local marking.