Change encoder to jsonpickle