More flexible access to json validation