Creating a Queue data structure backed by MongoDB document