optimize JsonSerializationContext.getSerializer(Class)