pdf: better object dictionary logging and handling