Javascript Create Map From Array Of Strings In Arduino