Searching non-analyzed formatted strings


I am trying to create a simple index where it contains among its field a String/Object field that holds a formatted document like JSON or XML, call it a payload field if you will. I do not need to analyze that field but instead I will search on it using phrase queries.

What format is suitable for that field that is most certain to work best with phrase queries, JSON, XML, YML, etc?