complete json api
start re-working to web-site format