added method to get PoS contents by object for debugging purposes