added simple json api
post count hotfix