api working.. json object returned