Fix bug in shape when passing jq object