added unifiedOnly argument to readMeta
Improved XML handling in readMeta and fixed downstream effects in
stackMeta