Added unpackBodyWithTemplate method to Response