Added check for trying to write empty metadata objs.
Merge branch 'dev' of github.com:project-fifo/jingles into dev