Add a test for custom serializers.

* Fix broken joda-time issues with making json Formats in macros.
* Add 'rawJson' for deserialized values if we had half of the
  serialization mechanism in place.
* Add a custom serializatoin test to UIInteraction.