Gson type adapters for common scala classes