trying out Go - simple JSON API