bug fix when building json string
support xml & json output in MVC