moved json calls into new singleton with block returns.