- replaced serialize/unserialize to json functionality