added validations and removed json root