Log formatter should be able to work with empty keys array. Fixes issue 7357

Signed-off-by: Alexei Barantsev <barancev@gmail.com>