helper for ruby's xmpfilter or seeing_is_believing