make 'render_field_options' a filter instead, to avoid import with context