fix printing issues raised with dict re-work
reverse the dict-ing. That was premature.
We're splitting output here.
One way for CLI, one way for putting into the database. This is sloppy.
revise doc
looks like writing works with the new rankings