[formatJson] fix pylint errors