parse out body from document