Fix array attributes parsing in project save (create / update)

Can you please remove the debug lines completely. No debug code should be in the production code.