fix json mime type bug ( see http://canop.org/blog/?p=481 )