updated api.json to valid format