parsing json tags by regex