Expand objectDiff to handle non-objects as inputs.
convert tabs to spaces