Added serializer for information quanta.
Changed serialization to JSON.