A life studying insects on a small island has proved a literary inspiration for one Swedish writer