Added parseBigInt utility function