KeyRing: make formatted dump use object rather than array

Signed-off-by: Dan Mick <dmick@danceorelse.org>