remove json and cleanup products controller