Java: correct input map type in create_output() wrapper.