work in progress on simple Json serializer