megatron (npm): Transforms origin obj to new object and validates types.
Keywords: map|transform|validation|validate