merge frommapjs