removes duplicate method, cleans up json response if successful