tags info use json to rails server