Use ToJson in DirectUrl