Adding serializer for Topic and making it respond to JSON