Fixed PocDAOImpl to insert trademetadata objects correctly