Fix bugs of compact-status and storage-status in json-formatter