converted to JSON output (with issues)