Add --raw-format to info/search

It gives the ability to chose the output format of the -R/--raw options
between json, json-conpact and yaml (default on yaml)