Initial implementation of custom _all field

Closes #4520