UCL Syntax: change output to json and report ambiguities