Complex validation on Json