jsoninfo: remove pointless compare