playing with some json in ruby