finished formatting JSON