add closing apostrophe in Resource#toString

fixes #32