JSON output added.