ajax controller returns always json, fixes #15
fixes selection bugs in manage window, fixes #14