remove root from JSON api