Add object tag to PathReplace

Make PathReplace able to rewrite the data attribute of object tags