Fix line delimited JSON response

For GET /events and POST /images/{name}/push, implement `StreamFormatter`.
Fixes #7047

Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com>