rollback scala object pickling code