file uploaded & response in json

Signed-off-by: FeiGuan <guanfei12345@sina.com>