serialize plain old ruby objects without the clutter