updated for the "JAX-RS access via JSON using jQuery"