script to export json for batch loading into rummager