Create ContentBase class and add custom json serializer