Simplify format method

Reflecting review
http://sourceforge.jp/projects/groonga/lists/archive/commit/2013-December/016840.html
(In short, it says that meta programming in this case is too much.)