Replacing location with service JSON.