Factorize additional{Items,Properties} syntax checking

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>