unmarshalling nasty json responses