Making a JAX-RS form provider easier to configure