Update rpc api to use extended_address to seralize

fixed bug in extended address parsing