Validating and parsing 'as cache json options'