Add serialization support for buffer views

This one uses the O serialization. Now also shows off the debug_info
handler, as it now differs from get_properties.