Refactoring codes: remove jsonpickle; use json instead