change format of created json file