Add object key in $scriptProperties in plugin