support json filename extension.

Signed-off-by: Lee <jessy1092@gmail.com>
Merge pull request #12 from jessy1092/master

support json filename extension.