Parts resource : use jax rs regex parsing for part key. Use MediaType.APPLICATION_JSON defined variable instead of its string value