starting to add json serializer