add 'references' JSON field
add mapped 'references' to index
actually output mapped 'references' to JSON
add puthtmlfile
add id2m method
add --html-index option