The easiest way to eliminate the warning is to allow your FooConverter to also implement Serializable for now.