fixed hashmap codegen to account for generating java hashmap