Better output on plain JavaScript objects