Extracted construction of `ObjectMapper` to new `CardshifterIO` class