closer to figuring out json