Centralize shape/index handling in mappers (#196)
* Centralize shape/index handling in mappers * Fix paren formatting Co-authored-by: Kaushik Kulkarni <15399010+kaushikcfd@users.noreply.github.com> Co-authored-by: Kaushik Kulkarni <15399010+kaushikcfd@users.noreply.github.com>