validateData() will throw exception on missing key