Implement a NullAdapter.

This adapter basically doesn't do anything, and just serializes
the attributes into plain old JSON.