Prevent occasional 500 errors on export to S3

Very occasionally (twice so far), the export listing function has failed when JSON serialization failed for some reason.  This will catch any future errors of this type.
Merge pull request #223 from alphagov/kk_error_proof_s3_export

Prevent occasional 500 errors on export to S3