better json parsing when pasting publication configuration
user uploaded configuration now uses ejs over handlebars