JAL-2360 amended toAppletParameter() for reproducible behaviour