More elegant code for build_body_req