Stringify input to BigInteger constructor