add support for maps with same name

Signed-off-by: Nigh <jiyucheng007@gmail.com>