- this allows it to work like readListIfPresent() but with a list as the return value, which can be useful for a const context.