I think:
```scala
projectFields = projectFields.map { Fields.merge(_, inFields) }
```
will do it.