fix finding of the right API method to call

we need redstone.xmlrpc.XmlRpcStruct to be recognized as java.util.Map