Added sample code to serialize object with extended Jsonic.