fix to convert Hash from Java Map object