Use multijson to convert ruby objects to string.