v0.1.22: metadata support and other bug fixes