added serializer

We now have json