Move functions out of header in REST request binding (TRIVIAL)

In order to reduce compile times, these functions are moved into the .cc file