strict checking of keys when validating json content