Converting Native JS Map to HashMap - Effect Community