added rdf, ttl and nt serializers for resources