fix collection metadata
move editable logic outside of loop
simplify custom editables
Merge pull request #468 from Connexions/refactor-editable

Move editable cases outside of loop