Extensions:insertWidget > if the callback function is an array we have an object callback, so generate widget key properly