Complete a condition to avoid errors

`every item must have a "name" and a "value"` -> `every item must be a array containing a "name" and a "value" key`