Changes to auto-complete with multiple types being merged into one line.
All return in JSON format.