Added __json__ property to encoder lookup.