Jaxrs accepting fo element in body. Working version