Adapt transformers and resource JSON to new API