JSON response finished for both documents and forum threads