in hmset, use JSON.stringify for objects with objects as values