Convert the Chrome console formatter to the new API