Reorg and introduction of resources.
Fix inequality between Jersey and internal MediaType conversion.