Only use implode in Project model if there is an array

Change-Id: I630626c80d67fa64e6d378f76ff817fa13d0a197