Added preprocessing of hex escapes