Fix proxy mapUri query bug, allow pack.api to specify key