I have a obj -> JSON.stringify().
newString = '<pre>'+JSON.stringify(values, ['displayName'], 4)+'</pre>';
I only want to show the values for the key "displayName" without any of the array/obj markyp("{}, [], etc") ---> Alexander Thorarinsson
Example of obj depths in 'values' array:
You don't need stirngify, but you do need to unwrap the arrays carefully
newString = '<pre>'+values[0].displayName[0]+'</pre>';