more json
added functionality
local
test
for local testing/review