You are not doing anything with the $unknowns output, therefor allowing allowUnknowns doesnt make sense