Smallest, fastest polymorphic JSON serializer