Replace ImmutableMap with HashMap

Related to #778