Reimplement datasource to fit with GWT-RPC