Define the serializer to use in the model