Attempt to get data, and return default on no attribute or null value