Fixed issue in Jax-RS parser, which causes duplicate results