iphone portion, able to parse json