implement json example, fix home and example links