adding missing functions for old json-c versions
add files
header tweaks
minor readme updates
make gcc happy // variable cleanup