Error in $: Could not parse path 'foo' with schema `SchemaObject { "bar": Int }`: Bool True