Accept arrays as values of scripts in project.json

parent #659