Big Integer Serializer
Serializer for ionspin BigInteger that converts to/from String. This is needed for kotlinx.serialization support.
For deserialization, accepts both numeric and string JSON values:
"chainId": 1(numeric) - parsed as integer"chainId": "12345678901234567890"(string) - parsed as string for very large numbers
For serialization, always outputs as string to ensure precision.