added 'squashRelatedModels' so multiple joined records can be flattened and exported as one csv.

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>