Fixed date parsing and handles arrays of 'latest_receipt's.