support json filename extension.

Signed-off-by: Lee <jessy1092@gmail.com>