Get meta.py doc sample working (closes #14)

This fixes things up just enough to get meta.py working with JSON as the
encoder.