fastparser: avoid allocation and conversion of elementnames we don't need.

Change-Id: I4c09aaa12b53181e50662de2721d170c195c7c86