You could just cut the white jst connectors off and use the Black JST SM connectors. The kit I linked comes with the male female ends.
The white JST's on these printers use both jst-PH2.0 or jst-xh 2.54mm typically
You can use the crimper I linked for all of these connectors