Revert "Switch to using a type attribute to specify node/way/relation."

This reverts commit 0004b94b206ede7f4c565e42ed29ec0e01209763.