Add toJson implementation for Response and Survey