Added json serializing example