fix($parse): Handle the empty string as an object key

When rebuilding an object literal key, use `isDefined` to decide if this is a string token or an identifier

Closes #9893