Trim trailing whitespace
Fix another case of complex data displaying as Object.

This fixes the detail table showing array fields as [Object, Object, ...], all
values need to be run through the get_field_value function