api working but json not parsing