Taking care of case where JSON does not contain expected fields.