fix json decode
Merge commit 'fetch_head' into rawbody