Refactored webspace collection array serialization

- Moved responsability for converting objects to arrays to the objects
  themeselves to enable reuse elsewhere.
Merge branch 'feature/to_array_webspace_refactor' into develop