Convert empty arrays to collections during hydration if they contain a rel