Redesign json request validation

Change-Id: I8c51b33074df3fd575ee7b7d583abcaaa613a533
Merge "Redesign json request validation"