Code review: 189920043: Adding a JSON serializer to path specs.