update docs
rename endRawDirective
add from json and to json directive
add gard
update readme