automatic json string builder(by ruby)