Finished building document received from http response. Unsure of whether or not it functions properly, will test first thing tomorrow.