Metadata is now output as JSON.
Added metadata example to README.