Removed AJAX response shenanigans. If you want JSON - return an array.