Merge pull request #545 from 28msec/GenericEntitiesArchives

Made archives.jq generic.
Merge remote-tracking branch 'origin/master' into db-7