map javascript objects easily to redis