Adapt entities serializable for wicket