Add xml and json format support.
Version v0.8.4