Thameslink (GTR) services will return to public ownership on May 31 next year.