Fixed JSON export function

By mistake we were trying to set title and subtitle for
already complete response.

Issue: altai-119
Change-Id: I5c1f139064e30f501d1206653602a24b11ea4b77