Fixes #4674 - Server formatter fails on non-symbol keys