Implement JSON path term example generation.

At the moment only simple paths are supported.