The result of executing FindAccountsByDomainId may sometimes return objects other than DomainId. U32 is returned as a Value, meaning that either the Kotlin SDK mishandles the datatype and converts it into a Value, or Iroha itself produces an incorrect data structure.
