New API function: get all activities as JSON