Adds validation for arrays of values

Summary: Needed for Cdr API validation

Test Plan: build and test with cdr api

Reviewers: hsychla

Reviewed By: hsychla

CC: aschultz, druss

Differential Revision: https://review.tpip.net/D375