Modified export_database to output "doc" property (7155)

The last commit got rid of some of the properties in each record
in the JSON.  This is eventually what we want to do, but, for
now, in order not to break existing code using these files, I'm
putting back the "doc" property.
https://issues.dp.la/issues/7155#note-53