JsonLoader: use Guava's Closer to manage resources

Does the job better than me, and close to Java 7's try-with-resources.