add MappingPlan and its json implementation