remove unused method
fix logic for upgrading a raw value to bytes.  previous logic depended on the decoded value being in the values array but we have no assurance that it will be populated when this method is called