Export Plugin to include relatedRecords

I need a way to include relatedRecords when I export records. Is this possible?