Fixed encoding issue when using to_json, utf-8 and dancer v1.3095

  . waiting for a better fix from libdancer-perl package