Removes error in json call for nested items