clean up getTypedDataStr signature