fixes 5726 - [hooks] JSON supplied to Foreman hooks is missing data