Unset value / json if serialize fails