extend magic cache api to export the expires value (if available)