I am making an API request in Go that uses JSON in the body. Before I make that request I need to take one part of the body for use in another function. I am using this function