Utility to properly handle escape sequences in parsed string.
New array cleanup TODO: Make this more readable/understandable.
[Validate]