Extended object formatter to be more flexible