Finally managed to use JacksonInject to give the group instead of
passing it every time transfer a group element.