converted embedded ruby string to json