Don't assume JSON adapters will always have a dict input.