fixed class mapping with suggestions
fixed json wrapping in suggestion accept (app.js)