Print some error message if json_loads fails.

Signed-off-by: Thiago Farina <tfarina@chromium.org>