Fix #77 : support json object into header
Merged in #114.