Rewrote Mappings.mappingJson, so it is clearer.