proposed solution to issue #39 - non-pretty-printable properties

added try/catch block to prevent non-printable properties  from being pretty-printed.