Removed boost::shared_ptr from metadata reader/writer