make AnnisGraphTools and ResolverProviderImpl Serializable