custom compiler for registered object tags