fix #3663 (`spring --list-config` contains non json info)