wrapped messageHeader hash into a class