simplify key structure for signTemplate