Work in progress: add bson registration for RecPatt