Add comment about where to put new ActivityState fields
Remove unused util functions
Use JSON encoding for deeplink parameters