Applying MXBean mappings to your own types