Use 'json' library to generate json for groonga