Declaratively validate incoming JSON data