Encode some bear data as JSON

This is taking an example from #3 and encoding it as JSON.