[CB-3611] Changed the index signature from success, fail to pluginResult