change pending ref placeholder in target to empty object instead of undefined
for more upstream compatibility with validators