Pydantic custom json encoder example. A dict of custom JSON encoders for specific types.