got metadata parsing working on the backend