Separated hashmap forming into its own function. Passed in registerParams to MPSG register function.