Clone value when processing respond_with hahs to avoid hash modification