add github api example
add description to github example
clean up basic example
allow non-json contents in initial element