updated format to json